﻿<?xml version="1.0" encoding="utf-8"?>
<response xmlns="http://www.freshbooks.com/api/" status="ok">
  <recurring>
    <recurring_id>344</recurring_id>
    <!-- One of '2y', 'y', '6m', '3m', '2m', 'm', '4w', '2w', 'w' -->
    <frequency>2y</frequency>
    <occurrences>0</occurrences>
    <stopped>0</stopped>
    <client_id>2</client_id>
    <contacts>
      <contact>
        <contact_id>10</contact_id>
      </contact>
    </contacts>
    <staff_id>1</staff_id>
    <organization>ABC Corp</organization>
    <first_name>John</first_name>
    <last_name>Doe</last_name>
    <p_street1>123 Fake St.</p_street1>
    <p_street2>Unit 555</p_street2>
    <p_city>New York</p_city>
    <p_state>New York</p_state>
    <p_country>United States</p_country>
    <p_code>553132</p_code>
    <vat_name></vat_name>
    <vat_number></vat_number>
    <po_number></po_number>
    <status></status>
    <amount>109.89</amount>
    <currency_code>CAD</currency_code>
    <language>en</language>
    <date>2007-06-23</date>
    <notes></notes>
    <terms></terms>
    <discount>0</discount>
    <return_uri></return_uri>
    <send_snail_mail>0</send_snail_mail>
    <send_email>1</send_email>
    <folder>active</folder>
    <autobill>
      <gateway_name>Authorize.Net</gateway_name>
      <card>
        <number>************1111</number>
        <name>John Smith</name>
        <expiration>
          <month>03</month>
          <year>2012</year>
        </expiration>
      </card>
    </autobill>
    <lines>
      <line>
        <line_id>1</line_id>
        <!-- (Read Only) line id -->
        <name>Product</name>
        <description>Sample product item</description>
        <unit_cost>9.99</unit_cost>
        <quantity>10</quantity>
        <amount>99.9</amount>
        <tax1_name>tax1</tax1_name>
        <tax2_name></tax2_name>
        <tax1_percent>10</tax1_percent>
        <tax2_percent>0</tax2_percent>
        <type>Item</type>
      </line>
    </lines>
  </recurring>
</response>
